package cn.kust.apiuser.remote;

import cn.kust.microtourismcommon.pojo.dto.ResponseResult;
import cn.kust.microtourismcommon.pojo.response.NumberCodeResponse;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient("service-verificationCode")
public interface ServiceVerificationcodeClient {
    @RequestMapping(method = RequestMethod.GET,value = "/verificationService/numberCode/{size}")
    ResponseResult<NumberCodeResponse> getNumberOfVerificationcode(@PathVariable("size") int size);
}
